projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4c383f
)
gtkselection: fix warnings of unused vars on win32
author
Ignacio Casal Quinteiro
<icq@gnome.org>
Tue, 22 Jul 2014 15:21:37 +0000
(17:21 +0200)
committer
Ignacio Casal Quinteiro
<icq@gnome.org>
Tue, 22 Jul 2014 15:22:00 +0000
(17:22 +0200)
gtk/gtkselection.c
patch
|
blob
|
history
diff --git
a/gtk/gtkselection.c
b/gtk/gtkselection.c
index a2da6739c836b04f9061ce11d0bfae6480fefbc3..380a101f87fbec7398265957bca175d0d15cd94e 100644
(file)
--- a/
gtk/gtkselection.c
+++ b/
gtk/gtkselection.c
@@
-1361,14
+1361,15
@@
selection_set_compound_text (GtkSelectionData *selection_data,
const gchar *str,
gint len)
{
+ gboolean result = FALSE;
+
+#ifdef GDK_WINDOWING_X11
gchar *tmp;
guchar *text;
GdkAtom encoding;
gint format;
gint new_length;
- gboolean result = FALSE;
-#ifdef GDK_WINDOWING_X11
if (GDK_IS_X11_DISPLAY (selection_data->display))
{
tmp = g_strndup (str, len);